package cn.wolfcode.luowowo.member.server;

import cn.wolfcode.luowowo.member.domain.IteamShop;
import cn.wolfcode.luowowo.member.mapper.IteamShopMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class IteamShopServiceImpl implements IIteamShopService {
    @Autowired
    private IteamShopMapper iteamShopMapper;
    @Override
    public List<IteamShop> selectAll() {
        return iteamShopMapper.selectAll();
    }

    @Override
    public List<IteamShop> selectMyIteams(Long id) {
        return iteamShopMapper.selectMyIteams(id);
    }
}
